package com.parking.status.sync.entity;

import javax.persistence.Entity;

/**
 * Created by Administrator on 2015/9/28.
 */
@Entity
public abstract class CommandCommon extends CommandBase {

    protected String clientId;

    //终端序列号：数据采集器的硬件编号，不超过16个字符
    protected String tsn;

    //SIM卡号：可以是手机号码，ICCID号，空卡序列号，不超过20字符
    protected String sim;

    //PSAM卡号：交通卡公司提供的，不超过12字符
    protected String psam;

    //系统版本号：指数据采集器的系统版本，如wince5.0或android4.3等，不超过20字符
    protected String sysVer;

    //应用版本号：数据采集器的软件应用版本，要求新版本号与旧版本号进行字符串比较的结果是大于，不超过20字符
    protected String appVer;

    public CommandCommon() {}

    public CommandCommon(int sqo, String clientId, String tsn, String sim, String psam, String sysVer, String appVer) {
        //super(LocalInfo.getSeqNo());
        super(sqo);
        this.clientId = clientId;
        this.tsn = tsn;
        this.sim = sim;
        this.psam = psam;
        this.sysVer = sysVer;
        this.appVer = appVer;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getTsn() {
        return tsn;
    }

    public void setTsn(String tsn) {
        this.tsn = tsn;
    }

    public String getSim() {
        return sim;
    }

    public void setSim(String sim) {
        this.sim = sim;
    }

    public String getPsam() {
        return psam;
    }

    public void setPsam(String psam) {
        this.psam = psam;
    }

    public String getSysVer() {
        return sysVer;
    }

    public void setSysVer(String sysVer) {
        this.sysVer = sysVer;
    }

    public String getAppVer() {
        return appVer;
    }

    public void setAppVer(String appVer) {
        this.appVer = appVer;
    }
}
